<table class="methods" width="100%" height="100%">
{section name=methods loop=$methods}
<tr>
    <td class="methodTd td_nact">
        <a name="method{$methods[methods].function_name}" id="method{$methods[methods].function_name}"><!-- --></a>
        <div class="methodArrow notactive"><a href="javascript: void(null)" class="micon"> </a></div>
    </td>
    {if $methods[methods].ifunction_call.constructor}{/if}
    {if $methods[methods].ifunction_call.destructor}{/if}
    {if $methods[methods].abstract}{/if}
    {if $methods[methods].access == 'private'}{/if}
    {* (line <span class="line-number">{if $methods[methods].slink}{$methods[methods].slink}{else}{$methods[methods].line_number}{/if}</span>) *}
    <td class="inf">
        {*$methods[methods]|@print_r*}{assign var="dochastodo" value="0"}
        {if $methods[methods].access == 'private'}
        <a title="private{if $methods[methods].static} & static{/if}" href="javascript: void(null)" class="methodLink type-{if $methods[methods].static}static-{/if}method-private">
        {elseif $methods[methods].access == 'protected'}
        <a title="protected{if $methods[methods].static} & static{/if}" href="javascript: void(null)" class="methodLink type-{if $methods[methods].static}static-{/if}method-protected">
        {else}
        <a title="public{if $methods[methods].static} & static{/if}" href="javascript: void(null)" class="methodLink type-{if $methods[methods].static}static-{/if}method">
        {/if}
        <strong>{$methods[methods].function_return|strip_tags} {if $methods[methods].static}static{/if}</strong> 
        {if $methods[methods].ifunction_call.returnsref}&amp;{/if}
        {$methods[methods].function_name}
        {if count($methods[methods].ifunction_call.params)}({section name=params loop=$methods[methods].ifunction_call.params}{if $smarty.section.params.iteration != 1}, {/if}{if $methods[methods].ifunction_call.params[params].hasdefault}[{/if}{if $methods[methods].ifunction_call.params[params].type|strip_tags|trim}<span>{$methods[methods].ifunction_call.params[params].type|strip_tags|trim}</span>&nbsp;{/if}<span class="var-name">{$methods[methods].ifunction_call.params[params].name}</span>{if $methods[methods].ifunction_call.params[params].hasdefault} = {$methods[methods].ifunction_call.params[params].default}]{/if}{/section}){else}(){/if}
        </a>

        <div class="details" style="display: none;">
            {include file="docblock_new.tpl" sdesc=$methods[methods].sdesc desc=$methods[methods].desc tags=$methods[methods].tags params=$methods[methods].params function=false}
            {if $methods[methods].params}
                <p><span class="param">Parameters:</span></p>
                <ul class="params">
                {section name=params loop=$methods[methods].params}
                <li>
                    <span class="var-type">{$methods[methods].params[params].datatype}</span>
                    {$methods[methods].params[params].var}
                    {if $methods[methods].params[params].data}
                        <p>{$methods[methods].params[params].data}</p>
                    {/if}
                </li>
                {/section}
                </ul>
            {/if}
            {if $methods[methods].function_return != 'void'}
                <p><span class="param">Return:</span></p>
                <p class="return">{$methods[methods].function_return}</p>
            {/if}
        </div>
    </td>
    <td class="linenum" width="1%">
    {if $methods[methods].tags}{foreach item=tag from=$methods[methods].tags}{if $tag.keyword == 'todo'}{assign var="dochastodo" value="1"}{/if}{/foreach}{/if}
    {if $dochastodo}<span class="todo">line</span>{else}line{/if}
    <span class="line-number">{if $methods[methods].slink}{$methods[methods].slink}{else}{$methods[methods].line_number}{/if}</span>
    </td>
</tr>
{/section}

{if $imethods}

{foreach item=parentClass from=$imethods}
            {foreach item=imethod from=$parentClass.imethods}
<tr>
    <td class="methodTd td_nact">
        <a name="imethod{$imethod.ifunction_name}" id="imethod{$imethod.ifunction_name}"><!-- --></a>
        <div class="methodArrow notactive"><a href="javascript: void(null)" class="micon"> </a></div>
    </td>
    {if $imethods[imethods].ifunction_call.constructor}{/if}
    {if $imethods[imethods].ifunction_call.destructor}{/if}
    {if $imethods[imethods].abstract}{/if}
    {if $imethods[imethods].access == 'private'}{/if}

    <td class="inf inherit">
        {if $imethod.access == 'private'}
        <a alt="private{if $imethod.static} & static{/if}" href="javascript: void(null)" class="methodLink type-{if $imethod.static}static-{/if}method-private">
        {elseif $imethod.access == 'protected'}
        <a alt="protected{if $imethod.static} & static{/if}" href="javascript: void(null)" class="methodLink type-{if $imethod.static}static-{/if}method-protected">
        {else}
        <a alt="public{if $imethod.static} & static{/if}" href="javascript: void(null)" class="methodLink type-{if $imethod.static}static-{/if}method">
        {/if}
        <strong>{$imethod.function_return|strip_tags} {if $imethod.static}static{/if}</strong> 
        {if $imethod.function_call.returnsref}&amp;{/if}
        {$imethod.function_call.name}
        {if count($imethod.function_call.params)}({section name=params loop=$imethod.function_call.params}{if $smarty.section.params.iteration != 1}, {/if}{if $imethod.function_call.params[params].hasdefault}[{/if}{if $imethod.function_call.params[params].type}<span>{$imethod.function_call.params[params].type|strip_tags|trim}</span>&nbsp;{/if}<span class="var-name">{$imethod.function_call.params[params].name}</span>{if $imethod.function_call.params[params].hasdefault} = {$imethod.function_call.params[params].default}]{/if}{/section}){else}(){/if}
        </a>

        <div class="details" style="display: none;">
            {include file="docblock_new.tpl" sdesc=$imethod.sdesc desc=$imethod.desc tags=$imethod.tags params=$imethod.params function=false}
            {if $imethod.function_call.params}
                <p><span class="param">Parameters:</span></p>
                <ul class="params">
                {section name=params loop=$imethod.function_call.params}
                <li>
                    <span class="var-type">{$imethod.function_call.params[params].type}</span>
                    {$imethod.function_call.params[params].name}
                    {if $imethod.function_call.params[params].description}
                        <p>{$imethod.function_call.params[params].description}</p>
                    {/if}
                </li>
                {/section}
                </ul>
            {/if}
            {if $imethod.function_return != 'void'}
                <p><span class="param">Return:</span></p>
                <p class="return">{$imethod.function_return}</p>
            {/if}
            <p><span class="param">Goto:</span> {$imethod.link}</p>
        </div>
    </td>
    <td class="linenum inherited inherit" width="1%">
    {if $parentClass.parent_class|strpos:'(Internal Class)'}
    <a title="{$parentClass.parent_class}" target="_blank" href="http://www.php.net/manual/en/class.{$parentClass.parent_class|replace:' (Internal Class)':''|strtolower}.php" class="external">{$parentClass.parent_class|replace:' (Internal Class)':''}</a>
    {else}
    {$parentClass.parent_class}
    {/if}
    </td>
</tr>
    {/foreach}
{/foreach}
    
{/if}
</table>